<html jwcid="@Shell" title="Results">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Services</title>

        <link jwcid="@Style" href="info.css" media="all"/>

    </head>
    <body jwcid="@Body">
        <a jwcid="@PageLink" page="Main">საწყისი</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br><br>
        <!-- input jwcid="@Errors" exceptions='ognl:exceptions'/-->

        <table border="1">
            <tr>
                <th width="50%">
                    დასახელება
                </th>
                <th width="50%">
                    მისამართი / დირექტორი /
                    სამუშაო საათები / დასვენების დღეები
                </th>
               <!--
       <th>
   კომენტარი
  </th>
  -->
            </tr>

            <span jwcid="@For" source="ognl:organizations" value="ognl:organization">
                <tr>

                     <span jwcid="@If" condition="ognl:organization.eprior!=0">
                            <td bgcolor="#C11B17">
                                <a jwcid="@DirectLink" listener="listener:openMainResultPage" parameters="ognl:organization.mainID">
                                   <font color="white">
                                   <input jwcid="@Insert" value='ognl:organization.name'/>
                                </font>
                                </a>
                            </td>
                        </span>

                        <span jwcid="@Else">

                    <span jwcid="@If" condition="ognl:organization.statuse==1">
                        <td bgcolor="#C38EC7">
                            <a jwcid="@DirectLink" listener="listener:openMainResultPage" parameters="ognl:organization.mainID">
                                <input jwcid="@Insert" value='ognl:organization.name'/>
                            </a>
                        </td>
                    </span>
                    <span jwcid="@Else">
                        <span jwcid="@If" condition="ognl:organization.statuse==2">
                            <td bgcolor="#747170">
                                <a jwcid="@DirectLink" listener="listener:openMainResultPage" parameters="ognl:organization.mainID">
                                    <input jwcid="@Insert" value='ognl:organization.name'/>
                                </a>
                            </td>
                        </span>

                          <span jwcid="@Else">
                        <span jwcid="@If" condition="ognl:organization.statuse==3">
                            <td bgcolor="#00FF00">
                                <a jwcid="@DirectLink" listener="listener:openMainResultPage" parameters="ognl:organization.mainID">
                                    <input jwcid="@Insert" value='ognl:organization.name'/>
                                </a>
                            </td>
                        </span>

                        <span jwcid="@Else">
                            <!--span jwcid="@If" condition="ognl:organization.eprior==0" -->
                            <td>
                                <a jwcid="@DirectLink" listener="listener:openMainResultPage" parameters="ognl:organization.mainID">
                                    <input jwcid="@Insert" value='ognl:organization.name'/>
                                </a>
                            </td>
                            <!--/span -->
                        </span>
                    </span>
                </span>
                             </span>
                    

                    
                    <td>
                        <table border="1" width="100%">
                            <tr>
                                <td>
                                    <span jwcid="@If" condition="ognl:organization.address!=null">
                                        <span jwcid="@If" condition="ognl:organization.address.hidden==0">
                                         
                                            <input jwcid="@Insert" value='ognl:page.getComboes().getCombo("CitiesAll").getLabelFromPk(organization.address.cityID)'/>
                           
                                          /
                                            <input jwcid="@Insert" value="ognl:organization.address.district"/>
                           
                                          /
                                             <b>
                                           <input jwcid="@Insert" value="ognl:organization.address.streetName"/>
                                            </b>
                                        </span>
                                        <span jwcid="@Else">
                                            მონაცემი დაფარულია
                                        </span>
                                    </span>
                                    &nbsp;&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="100%">
                                    <input jwcid="@Insert" value='ognl:organization.director'/>&nbsp;&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="100%">
                                    <input jwcid="@Insert" value='ognl:organization.workingHours'/>&nbsp;&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="100%">
                                    <input jwcid="@Insert" value='ognl:organization.dayoffs'/>&nbsp;&nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                    
                </tr>
                <tr>
                <td colspan="2" bgcolor="#FFFFFF">
                        <input jwcid="@Insert" value='ognl:organization.note'/>
                
                </td>

                </tr>
                <tr>
                <td colspan="2" bgcolor="#747170">

                                                    &nbsp;&nbsp;
                                                </td>
                                                </tr>
            </span>
            
        </table>

    </body>
</html>